package com.huyiyu.dbproject.dto;

public class StudentTemp {
  private String Sname;
  private String Sclass;
  private float Grade;
  private float Bonus;

  public StudentTemp() {
  }

  public StudentTemp(String sname, String sclass, float grade, float bonus) {
    Sname = sname;
    Sclass = sclass;
    Grade = grade;
    Bonus = bonus;
  }

  public String getSname() {
    return Sname;
  }

  public void setSname(String sname) {
    Sname = sname;
  }

  public String getSclass() {
    return Sclass;
  }

  public void setSclass(String sclass) {
    Sclass = sclass;
  }

  public float getGrade() {
    return Grade;
  }

  public void setGrade(float grade) {
    Grade = grade;
  }

  public float getBonus() {
    return Bonus;
  }

  public void setBonus(float bonus) {
    Bonus = bonus;
  }

  @Override
  public String toString() {
    return "StudentTemp{" +
            "Sname='" + Sname + '\'' +
            ", Sclass='" + Sclass + '\'' +
            ", Grade=" + Grade +
            ", Bonus=" + Bonus +
            '}';
  }
}
